package ccnu.agile.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @Author: JreamY
 * @Date: 2021/11/11
 **/
@Data
@Component
@ConfigurationProperties(prefix = "business")
public class BusinessProperties {

    private Test test;

    @Data
    static class Test {

        private String key1;

        private String key2;
    }
}
